﻿using UnityEngine;
using System.Collections;

[System.Serializable]
public class ProfileData {

	public int ID = -1;
	public string name = "Unnamed";
	public string description = "";
	public string imageDataPath = "";
	public string imageThumbnailDataPath = "";

	public Texture LoadProfileTexture()
	{
		return Resources.Load("PROFILE/prof/" + imageDataPath, typeof(Texture)) as Texture;
	}

	public Texture LoadThumbnailTexture()
	{
		return Resources.Load("PROFILE/" + imageThumbnailDataPath, typeof(Texture)) as Texture;
	}
}
